#ifndef SOLOADER_PATCH_ANDROID_H
#define SOLOADER_PATCH_ANDROID_H

#include <stdint.h>

int __android_log_vprint(int prio, const char *tag, const char *fmt, ...);
int __android_log_print(int prio, const char *tag, const char *fmt, ...);

void *Android_JNI_GetEnv(void);
int Android_JNI_FileOpen(char *a1, int a2);
unsigned int Android_JNI_FileRead(char *a1, void *buf, unsigned int a3, int a4);
int64_t Android_JNI_FileSeek(char *a1, int64_t a2, int a3);
int Android_JNI_FileClose(char *a1);
int64_t Android_JNI_FileSize(int a1);

int Android_JNI_GetLocalID();

int Android_APKX_SetFile(const char *dirpath, const char *filename);

int SDL_Android_Init();

int initPatchAndroid();

#endif